home *** CD-ROM | disk | FTP | other *** search
/ Programming Sound Cards / Programming Sound Cards.iso / sound_45 / mod_disv.c < prev    next >
Text File  |  1995-01-01  |  3KB  |  107 lines

  1.  
  2. /* BEGIN DAVID LAI COPYRIGHT ********************************************* */
  3. /*
  4. (C) Copyright David Lai 1993, 1994.  All rights reserved.
  5.  
  6. The source code is copyright by David Lai, however it is freely
  7. distributable and released for unrestricted use.  Users may copy or modify 
  8. this source code without charge, provided all copyright
  9. notices remain intact in all the source code.  Portions of the source code
  10. copyright by their respective copyright holders and are covered
  11. under different agreements, however the source code used has
  12. specifically been marked distributable royalty-free.
  13.  
  14. You can do whatever you want with it, even charge money for it, if
  15. you find a sucker willing to pay for it.  This is not shareware, the program
  16. is not crippled in any way, do not send money.  You can e-mail comments
  17. to the electronic mail address below, or fax to the fax number below.
  18.  
  19. If you add a feature thats useful, or do a new port, you can send
  20. the context diffs to the e-mail address below.  I may include it in
  21. subsequent releases.  Your code must specifically be marked
  22. freely distributable, I will not include code marked otherwise.
  23.  
  24. THE SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
  25. THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  26. PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
  27.  
  28. The source code is provided with no support and without any obligation on
  29. the part of David Lai to assist in its use, correction,
  30. modification or enhancement.
  31.  
  32. DAVID LAI SHALL HAVE NO LIABILITY WITH RESPECT TO THE
  33. INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
  34. OR ANY PART THEREOF.
  35.  
  36. In no event will David Lai be liable for any lost revenue
  37. or profits or other special, indirect and consequential damages, even if
  38. David Lai has been advised of the possibility of such damages.
  39.  
  40. David Lai
  41. 1370 McKendrie St
  42. San Jose, CA 95126
  43. fax: 408-241-4615
  44.  
  45. lai%fastfood@daver.bungi.com
  46.  
  47. */
  48. /* END   DAVID LAI COPYRIGHT ********************************************* */
  49.  
  50. static struct sample_format_info
  51.     sample_format_table[] = {
  52.         { NULL },
  53.         { "wav" },
  54.         { "voc" },
  55.         { "sam" },
  56.         { "txt" }
  57.         };
  58.  
  59. static struct effect_info effect_info[]= {
  60.     {"Arpeggio",    2},
  61.     {"SlideUp",    1},
  62.     {"SlideDown",    1},
  63.     {"TonePortamento",    1},
  64.     {"Vibrato",    2},
  65.     {"TonePortamentoVolumeSlide",    2},
  66.     {"VibratoVolumeSlide",    2},
  67.     {"Tremolo",    2},
  68.     {"NOTUSED",    -1},
  69.     {"SetSampleOffset",    1},
  70.     {"VolumeSlide",    2},
  71.     {"PositionJump",    1},
  72.     {"SetVolume",    1},
  73.     {"PatternBreak",    1},
  74.     {"Extended",    0},
  75.     {"SetSpeed",    1}
  76.     };
  77.  
  78. static struct effect_info ext_effect_info[]= {
  79.     {"SetFilter",    1},
  80.     {"FineSlideUp",    1},
  81.     {"FineSlideDown",    1},
  82.     {"GlissandoControl",    1},
  83.     {"SetVibratoWaveform",    1},
  84.     {"SetFinetune",    1},
  85.     {"JumptoLoop",    1},
  86.     {"SetTremoloWaveform",    1},
  87.     {"NOTUSED2",    -1},
  88.     {"RetrigNote",    1},
  89.     {"FineVolumeSlideUp",    1},
  90.     {"FineVolumeSlideDown",    1},
  91.     {"NoteCut",    1},
  92.     {"NoteDelay",    1},
  93.     {"PatternDelay",    1},
  94.     {"InvertLoop",    1}
  95.     };
  96.  
  97.  
  98.  
  99. #if 0
  100. $Id: mod_disv.c,v 1.1 1994/03/19 09:21:31 dlai Exp $
  101. $Log: mod_disv.c,v $
  102.  * Revision 1.1  1994/03/19  09:21:31  dlai
  103.  * Initial revision
  104.  *
  105.  
  106. #endif
  107.